#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
	int n;
	cin >> n;
	cout << fixed << setprecision(1) << (n - 100) * 0.9 * 2;
	return 0;
}
